package com.sl.au.service;

import java.util.Date;
import java.util.Map;

public interface DeleteService extends BaseService {
	
	/**
	 * 删除信息，及判断是否有数据绑定
	 * @param clazz
	 * @param id
	 * @return
	 */
	Map<String, Object> deleteInfo(String datasourceName, Class clazz ,String id);
	
	boolean deleteInfoAllForClass(String datasourceName, Class clazz ,String id);

	Map<String, Object> deleteListAllForClass(String datasourceName, Class clazz , Date begin, Date end);
}
